enum BuildFlavor { dev, test, lpt, stg, hmg, prod}

class Environment {
  BuildFlavor? flavor;
  String? apiBaseUrl;
  String? name;
  Environment.dev(){
    this.apiBaseUrl = "https://**.com";
    this.flavor = BuildFlavor.dev;
    this.name = "开发环境";
  }
  Environment.prod(){
    this.apiBaseUrl = "";
    this.flavor = BuildFlavor.prod;
    this.name = "线上环境";
  }
}